package cn.bdqn.domain;

import java.io.Serializable;

public class Recipe implements Serializable {
    private Integer id;

    private String regisId;

    private Double drugTotalprice;

    private Integer recipePaystatus;

    private Integer doctorId;

    private String etiology;

    private Integer ifallocation;

    private String rezept;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRegisId() {
        return regisId;
    }

    public void setRegisId(String regisId) {
        this.regisId = regisId == null ? null : regisId.trim();
    }

    public Double getDrugTotalprice() {
        return drugTotalprice;
    }

    public void setDrugTotalprice(Double drugTotalprice) {
        this.drugTotalprice = drugTotalprice;
    }

    public Integer getRecipePaystatus() {
        return recipePaystatus;
    }

    public void setRecipePaystatus(Integer recipePaystatus) {
        this.recipePaystatus = recipePaystatus;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getEtiology() {
        return etiology;
    }

    public void setEtiology(String etiology) {
        this.etiology = etiology == null ? null : etiology.trim();
    }

    public Integer getIfallocation() {
        return ifallocation;
    }

    public void setIfallocation(Integer ifallocation) {
        this.ifallocation = ifallocation;
    }

    public String getRezept() {
        return rezept;
    }

    public void setRezept(String rezept) {
        this.rezept = rezept == null ? null : rezept.trim();
    }

    @Override
    public String toString() {
        return "Recipe{" +
                "id=" + id +
                ", regisId='" + regisId + '\'' +
                ", drugTotalprice=" + drugTotalprice +
                ", recipePaystatus=" + recipePaystatus +
                ", doctorId=" + doctorId +
                ", etiology='" + etiology + '\'' +
                ", ifallocation=" + ifallocation +
                ", rezept='" + rezept + '\'' +
                '}';
    }
}